/**
 * 容器控件的公共逻辑
 */
export default {
  props: {
    widget: {
      type: Object,
      default: () => ({})
    },
    controls: {
      type: Object,
      default: () => ({})
    },
    rules: {
      type: Object
    },
    values: {
      type: Object,
      default: () => ({})
    },
    workflowData: {
      type: Object,
      default: () => ({})
    },
    showAll: {
      type: Boolean
    },
    cardKey: {
      type: String,
      default: ''
    },
    validateInfo: {
      type: Object,
      default: () => {
        return {}
      }
    }
  },
  beforeCreate() {
    this.$options.components.RenderFormItem = require('../components/RenderForm/RenderFormItem.vue').default
  }
}
